package io.scnb.lesson001.demo8;

public class SetterBean {
    public interface IService{}
    public static class ServiceA implements IService{}
    public static class ServiceB implements IService{}

    private IService service;

    public void setService(IService service) {
        this.service = service;
    }
}
